﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using dogma.vo;

namespace dogma
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            LoginView loginView = new LoginView();
            loginView.ShowDialog();

            if (loginView.DialogResult == DialogResult.OK) { 
                Application.Run(new AppForm()); 
            } else 
                return;
        }
    }
}
